<include file="Public/head"/>
<link type="text/css" rel="stylesheet" href="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.css"/>
<script src="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.js" type="text/javascript"></script>
<script src="http://img1.isou365.cn/paimai/yunying/js/city.js" type="text/javascript"></script>
<style>
    .xuanzhe ul li .menDao1 {  width: 300px;  }
    .xuanzhe ul li .menDao1 a {display: block;  background: #cecece;  color: #303030;  float: left;  width: 36px;  text-align: center;  height: 20px;  line-height: 20px;  cursor: pointer;  }
    .xuanzhe ul li .menDao1 .menHover {  background: #20ab4f;  color: #fff;  }
    .negotiation{width:915px;display: block;border:solid 1px #ccc;margin:15px 0 10px 10px;padding:20px 20px 0 20px; position: relative;}
    .negotiation2 {  margin: 10px 0 0 30px;  padding: 20px 20px 50px 20px;  position: relative;  }
    .negotiation h4 {  position: absolute;  color: #20ab4f;  top: -15px;  left: 30px;  font-size: 14px;  width: 90px;  text-align: center;  display: block;  height: 30px;  line-height: 30px;  background: #fff;  }
    .negotiation span, .negotiation2 span {  display: block;  float: left;  height: 28px;  line-height: 28px;  margin-right: 30px;  color: #333;  }
    #confirm_remark {  width: 715px;  border: solid 1px #dadada;  height: 60px;  resize: none;  padding: 5px;  float: left; }
</style>
<include file="Public/common_header"/>
<div class="mian">
    <include file="Public/sidebar" menu="pmgl.ptqr"/>
    <div class="mianR">
        <h3 class="yonghu">
            <if condition="$status eq 0">
                平台确认详情
                <elseif condition="$status eq 1"/>
                跟踪确认详情
                <elseif condition="$status eq 3"/>
                确认成功详情
                <elseif condition="$status eq 5"/>
                确认失败详情
            </if>
        </h3>
        <div class="chezhu-xinxi">
            <div class="xinxi-conter xinxi-conter1" style="background: none;border: none">
                <h4 class="order_no">拍卖单号：<b>{$detail.order_no}</b></h4>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>
                    <if condition="$detail.is_dealer_breach eq 1">
                        仲裁人信息
                        <else />
                        自收人信息
                    </if>
                </h4>
                <ul>
                    <li class="clearfix">
                        <if condition="$detail.is_dealer_breach eq 1">
                            <em>仲裁人</em><em class="name-text1">{$detail.issue_done_emp}</em>
                            <em>仲裁人电话</em><em class="name-text">{$detail.issue_done_phone}</em>
                            <else />
                            <em>自收人</em><em class="name-text1">{$detail.dealer_contact_person}</em>
                            <em>自收人电话</em><em class="name-text">{$detail.dealer_contact_mobile}</em>
                        </if>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车辆信息（第{$detail.au_times}次拍卖）
                    <a href="{:U('Car/report',['car_id'=>$detail['car_id']])}" target="_blank">
                        <span style="float:right;padding-right: 10%;color:#20ab4f;">检测报告</span>
                    </a>
                </h4>
                <ul>
                    <li class="clearfix">
                        <em>车型</em><em class="name-text">{$detail.model}</em>
                        <em>排放标准</em><em class="dian-hua">{$detail.emission}</em>
                    </li>

                    <li class="clearfix">
                        <em>初登日期</em><em class="name-text">{$detail.first_reg_date}</em>
                        <em>颜色</em><em class="dian-hua">{$detail.car_color}</em>
                    </li>
                    <li class="clearfix">
                        <em>表显里程</em><em class="name-text">{$detail.pointer_mileage}万公里</em>
                        <em>车况级别</em><em class="name-text">{$detail.composite_state}{$detail.accident_level}</em>
                    </li>
                    <li class="clearfix">
                        <em>车辆注册地</em><em class="name-text">{$detail.reg_city}</em>
                        <em>车架号</em><em class="name-text">{$detail.vin}</em>
                    </li>
                    <li class="clearfix">
                        <em>过户限制</em><em class="name-text">{$detail.transfer_limit}</em>
                        <em>车牌号</em><em class="name-text">{$detail.plate_prefix}{$detail.plate_suffix}</em>
                    </li>
                    <li class="clearfix">
                        <em>渠道来源</em><em class="name-text">
                            <if condition="$detail.comefrom neq ''">
                                <?php if(empty($detail['comefrom_url'])):?>
                                <?php echo $show_from[$detail['comefrom']];?>
                                <?php else: ?>
                                <a href="{$detail.comefrom_url}" target="_blank"
                                   rel="noreferrer"><?php echo $show_from[$detail['comefrom']];?></a>
                                <?php endif;?>
                                <else/>
                                未知
                            </if>
                        </em>

                        <em>所在地</em><em class="name-text">{$detail.location_area}</em>
                    </li>
                </ul>
            </div>
            <br/>

            <div class="xinxi-conter xinxi-conter1">
                <h4>拍卖信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>竞拍结束时间</em><em class="name-text">{$detail.bidding_end_time}</em>
                        <em>第一名出价</em><em class="name-text">{$detail.bidding_best_price}</em>
                    </li>
                    <li class="clearfix">
                        <em>保留价</em><em class="name-text">{$detail.reserve_price}元</em>
                        <em>建议价</em><em class="name-text">{$detail.suggest_price}</em>
                    </li>
                </ul>
            </div>

            <if condition="$status eq 3">
                <br/>
                <div class="xinxi-conter xinxi-conter1">
                    <h4>确认信息</h4>
                    <ul>
                        <li class="clearfix">
                            <em>第一名加价</em>
                            <em class="name-text">{$detail.platform_confirm_increase}元</em>
                            <em>拍卖最高价</em>
                            <em class="dian-hua">{$detail.bidding_best_price}</em>
                        </li>
                    </ul>
                </div>
                <br/>
                <div class="xinxi-conter xinxi-conter1">
                    <div class="negotiation negotiation1">
                        <h4>结算信息</h4>
                        <if condition="$detail.is_dealer_breach eq 0">
                            <em>自收成交价（<i class="auction-price1">{$detail.self_receive_price}</i>元）</em>
                        </if>
                        <em>车商合手价（<i class="auction-price2">{$detail.dealer_success_price}</i>元）= 拍卖最高价（<i class="cuur-price2">{$detail.success_price}</i>元）+ 交易服务费（<i class="deal-price">{$detail.pay_commision}</i>元）+  交付服务费（<i class="deliver-price">{$detail.transfer_fee}</i>元）</em>
                    </div>
                </div>
            </if>
        </div>

        <empty name="trace_log">
            <else/>
            <h3 class="yonghu">系统跟踪日志</h3>
            <div class="yonghuText">
                <ul>
                    <php>$confirm_logs = array('0'=>'分配客服','1'=>'确认成功','2'=>'继续跟踪','3'=>'确认失败')</php>
                    <volist name="trace_log" id="list" key="k">
                        <li class="{$k%2==0?'xitongBg':''} clearfix">
                            <em class="huShi">{$list.createtime}</em>
                            <em>客服</em><em>{$list.real_name}</em><em>{$confirm_logs[$list['result']]}</em>
                            <em class="huShi">{$list.remark}</em>
                        </li>
                    </volist>
                </ul>
            </div>
        </empty>

        <div class="yongBtn1">
            <input class="quxiao" type="submit" value="关闭" onclick="window.close();">
        </div>

        <div class="clear"></div>
    </div>
    <include file="Public/foot"/>